package com.chenbing.yunmall.order.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.List;
//@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class OrderItemVo {

    private Long skuId;

    private Boolean check=true;

    private String title;

    private String image;

    /**
     * 商品套餐属性
     */
//    @JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY)
    private List<String> skuAttrValues;

    private BigDecimal price;

    private Integer count;

    private BigDecimal totalPrice;

    /** 商品重量 **/
    private BigDecimal weight;
//            = new BigDecimal("0.085");

    public OrderItemVo() {
    }
}
